package com.mb.app.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.mb.app.domain.MpSmsLog;
import com.mb.app.dao.MpSmsLogMapper;
import com.mb.app.service.IMpSmsLogService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 短信记录  服务实现类
 * </p>
 *
 * @author liliping
 * @since 2019-04-20
 */
@Service
public class MpSmsLogServiceImpl extends ServiceImpl<MpSmsLogMapper, MpSmsLog> implements IMpSmsLogService {


    @Override
    public List<MpSmsLog> queryList(Map<String, Object> map) {
        List<MpSmsLog> list = this.baseMapper.lst(map);
        return list;
    }

    @Override
    public int count(Map<String, Object> map) {
        return this.baseMapper.count(map);
    }
    @Override
    public int counts() {
        return this.baseMapper.counts();
    }
}
